﻿using System;
using System.Net;
using System.Runtime.Serialization;

namespace Convo
{
    [DataContract]
    public class UserMessage
    {
        [DataMember]
        public string id { get; set; }

        [DataMember]
        public string Name { get; set; }

        [DataMember]
        public string Password { get; set; }

        [DataMember]
        public DateTime Birthdate { get; set; }

        [DataMember]
        public string Email { get; set; }

        [DataMember]
        public double Latitude { get; set; }

        [DataMember]
        public double Longitude { get; set; }

        [DataMember]
        public DateTime LocationTime { get; set; }

        [DataMember]
        public string Status { get; set; }

        [DataMember]
        public string Endpoint { get; set; }

        public UserMessage() { }
    }
}
